﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using cmsservice.Entity;

namespace cmsservice.DAL
{
    public class VideoItemDAL
    {
        public List<VideoItem> GetAll()
        {
            string sql = "select * from sohuvideo where IsEnable=1 or IsEnable is null order by lastModified desc";
            return SqlHelper.GetDataByColumnsLst<VideoItem>(DBConn.CMS, sql, null);
        }
    }
}
